<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<base href='<?php echo base_url()?>'>
<link rel="stylesheet" type="text/css" href="public/common/css/common.css"/>
<link rel="stylesheet" type="text/css" href="public/admin/css/admin.css"/>
<script src="public/common/js/jquery.js"></script>
</head>
<body>
	<div id="site">
     	<?php echo $this->position->get_position();?>
        <div class="site_center">
        	<form action="<?php echo site_url('admin/system/update_site_config')?>" method="post">
                <table class="table">
                    <tr><th width="20%">参数名</th><th width="55%">参数值</th><th width="25%">参数说明</th></tr>
                    <tr><td class="center">网站名称：</td><td><input type="text" class="input_txt" name="web_title" value="<?php echo $site_config['web_title']?>"></td>
                    <td><span class="red">*</span> 网站首页导航栏显示的标题</td></tr>
                    <tr><td class="center">网站地址：</td><td><input type="text" class="input_txt" name="base_url" value="<?php echo base_url()?>"></td><td><span class="red">*</span> 网站域名，请按实际情况填写！</td></tr>
                    <tr><td class="center">开启缓存：</td><td><input type="radio" name="web_cache" value="1" <?php if($site_config['web_cache'] === '1'):?>checked<?php endif;?>>是 <input type="radio" name="web_cache" value="0" <?php if($site_config['web_cache'] === '0'):?>checked<?php endif;?>>否</td><td><span class="red">*</span> 建议开启缓存！</td></tr>
                    <tr><td class="center">缓存时间：</td><td><input type="text" name="web_cache_time" value="<?php echo $site_config['web_cache_time']?>" class='web_cache_time border_none' /> 分钟</td><td>&nbsp;</td></tr>
                    <tr><td class="center">默认模板：</td><td>template/<input type="text" name="web_template" value="<?php echo $site_config['web_template']?>" class="web_template border_none" /></td><td><span class="red">*</span> 模板文件夹名称</td></tr>
					<tr><td class="center">网站备案号：</td><td><input type="text" class="input_txt" name="web_beian" value="<?php echo $site_config['web_beian']?>"></td><td>&nbsp;</td></tr>
                    <tr><td class="center">热门搜索：</td><td><input type='text' name="web_search_hot" value='<?php echo $site_config['web_search_hot']?>' class='input_txt'></td><td><span class="red">*</span> 搜索关键字</td></tr>
                    <tr><td class="center">关键字(SEO)：</td><td><input type="text" name="web_keywords" value="<?php echo $site_config['web_keywords']?>" class="input_txt"></td><td><span class="red">*</span> 关键字有助于搜索引擎排名</td></tr>
                    <tr><td class="center">站点描述(SEO)：</td><td><textarea name="web_description"  class="textarea"><?php echo $site_config['web_description']?></textarea></td></td><td><span class="red">*</span> 站点描述有助于搜索引擎排名</td></tr>
                    <tr><td class="center">网站页脚信息：</td><td><textarea name="web_powerby" class="textarea"><?php echo $site_config['web_powerby']?></textarea></td><td><span class="red">*</span> 显示在首页页脚下部的文字</td></tr>
                    <tr><td class="center">网站统计代码：</td><td><textarea name="web_state" class="textarea"><?php echo $site_config['web_state']?></textarea></td><td><span class="red">*</span> 可填写第三方统计代码</td></tr>
                    <tr><td align="center" colspan="2"><input type="submit" name="submit" class="submit" value="提交" /> &nbsp;&nbsp;<input type="reset" name="reset" class="reset" value="重置" /></td><td>&nbsp;</td></tr>
                    <tr><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
                </table>
            </form>
        </div>
    </div>
</body>
</html>